import React, { Component } from 'react';

import { Provider } from 'react-redux'
import { BrowserRouter } from 'react-router-dom'

import GRHeader from './components/GRHeader'
import GRRouter from './routers'
import store from './store'

class App extends Component {
  render() {
    return (
	    <Provider store={store()}>
		    <BrowserRouter>
			    <div className="App">
				    <GRHeader/>
				    <GRRouter/>
			    </div>
		    </BrowserRouter>
	    </Provider>
    );
  }
}

export default App;
